<!DOCTYPE html>
<html>

	<head>

		<!--适配 移动端-->
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
		<meta charset="utf-8" />

		<meta http-equiv="Pragma" content="no-cache">
		<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate,max-age=0">
		<meta http-equiv="Expires" content="0">

		<!--引入图标-->
		<link rel="icon" href="https://dabai-1259760387.cos.ap-beijing.myqcloud.com/801%E5%B7%A5%E5%85%B7%E7%AE%B1/icon/801_256.ico" type="image/x-icon" />

		<!--引入Bootstrap-->
		<link rel="stylesheet" type="text/css" href="../css/bootstrap.css" />
		<script src="../js/bootstrap.js"></script>
		<script src="../js/bootstrap.bundle.min.js"></script>
		<script src="../js/jquery.min.js"></script>
		<!--引入Bootstrap-->

		<meta charset="utf-8" />

		<title>投稿</title>
		<meta name="author" content="BAI,明灯花月夜">
		<meta name="Keywords" content="vmix,VMix GT字幕 - 提交,GT字幕,gt字幕">
		<meta name="description" content="VMix GT字幕下载站">

		<link rel="stylesheet" type="text/css" href="../css/main.css" />

		<style type="text/css">

		</style>

	</head>

	<body>

		<nav class="navbar navbar-expand-lg bg-light rounded" aria-label="Eleventh navbar example">
			<div class="container-fluid">
				<a class="navbar-brand" href="../index.html">VMix GT字幕下载站</a>
			</div>
		</nav>

		<div class="text_content">

			<h5>#投稿</h5>

			<p>
				请发送邮件到：
				<a href="mailto:1904812793@qq.com">1904812793@qq.com</a> 进行投稿
			</p>

			<h5>#邮件内包含</h5>

			<p>
				标题、投稿者名称、描述、字幕文件(gtzip) 或 字幕合集包、封面图(可有可无) <br /> 以正文+附件形式发送到上述邮箱即可
			</p>

			<div class="card" style="padding: 32px;">
				<h5>#邮件示例</h5>
				<div class="mb-3">
					<label for="exampleFormControlInput1" class="form-label">收件人</label>
					<input type="email" class="form-control" id="exampleFormControlInput1" placeholder="name@example.com" value="1904812793@qq.com">
				</div>

				<div class="mb-3">
					<label for="exampleFormControlTextarea1" class="form-label">标题</label>
					<input class="form-control" type="text" placeholder="Disabled input" aria-label="Disabled input example" disabled value="gt字幕投稿">
				</div>

				<div class="mb-3">
					<label for="exampleFormControlTextarea1" class="form-label">正文</label>
					<textarea class="form-control" id="exampleFormControlTextarea1" rows="8">标题：字幕名称<br />
投稿者名称：小黑<br />
描述：自制字幕，用于球赛比分<br />
<br />
附件：字幕文件(gtzip) 或 字幕合集包(压缩包)、封面图(可有可无)
				</textarea>
				</div>

				<a class="btn btn-success" href="" id="SendEmail">发送邮件</a>

			</div>

		</div>

	</body>

	<script type="text/javascript">
		$(document).on("click", "#SendEmail", function() {

			var website = document.getElementById("exampleFormControlInput1").value;
			var subject = "gt字幕投稿";
			var body = document.getElementById("exampleFormControlTextarea1").value;
			var url = "mailto:" + website + "?subject=" + subject + "&body=" + body;
			window.open(url);
			//document.getElementById("SendEmai").setAttribute("href", url);
			　　　　 //return fasle;
		});
	</script>

</html>